package com.hk.impl;

import com.hk.Rent;
import org.springframework.stereotype.Service;

@Service
public class RentImpl implements Rent{
    @Override
    public int rentHouse(int price, int num) {
        System.out.println("出租房屋啦====");
        return 10;
    }

    @Override
    public int rentCar(int price, int num) {
        System.out.println("出租豪车啦====");
        return 20;
    }

    @Override
    public int rentPerson(int price, int num) {
        System.out.println("出租对象啦====");
        return 30;
    }
}
